cap making process